# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-stestr
pkgver=3.2.0
pkgrel=1
pkgdesc="A parallel Python test runner built around subunit"
url="http://stestr.readthedocs.io/en/latest/"
arch="noarch"
license="Apache-2.0"
depends="
	py3-subunit
	py3-voluptuous
	py3-yaml
	python3
	"
makedepends="
	py3-pbr
	py3-setuptools
	py3-testtools
	"
checkdepends="
	py3-cliff
	py3-future
	"
source="https://pypi.python.org/packages/source/s/stestr/stestr-$pkgver.tar.gz"
options="!check" # Requires an old package traceback2
builddir="$srcdir/stestr-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="
4f5e41c92518104b06f5b9717d59c214a8d87efe47fee199a602e71efd64e29c98711ffcf3b88cd00209946d0ab123c7ec5aa842e1d54bc65d83c8d70fa4898c  stestr-3.2.0.tar.gz
"
